package com.tchhy.mvplibrary.presenter

import com.tchhy.mvplibrary.presenter.view.BaseView
import com.tchhy.provider.data.common.BaseResp
import com.tchhy.provider.data.common.EmptyResp
import com.trello.rxlifecycle2.LifecycleProvider
import com.trello.rxlifecycle2.LifecycleTransformer

/**
 * <p>
 * Author: wfy
 *
 */
open class BasePresenter<T : BaseView> {
    //记得Activity/Fragment销毁时置为null，即使释放Presenter和View的引用关系
     lateinit var mRootView: T
    // 注意初始化
    lateinit var lifecycleProvider: LifecycleProvider<*>
}